package cn.com.haopy.yue.ai.db.mapper.arisk;

import cn.com.haopy.yue.ai.db.dto.PieCountDto;
import cn.com.haopy.yue.ai.db.entity.arisk.AIRiskPapersIllness;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/3/28 8:55
 */
public interface AIRiskPapersIllnessMapper extends BaseMapper<AIRiskPapersIllness> {
    List<Map<String, Object>> getCountByDisLevel(Integer paperId);

    List<PieCountDto> getPieCount();

    List<PieCountDto> getBarCount(@Param("name") String name);
}
